package com.im.app.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.im.app.model.Code;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jim.core.packets.User;

public interface IUserMapper extends BaseMapper<User> {

    @Select("select * from user  where kefu_id=#{kefuId} and last_login_ip=#{ip}")
    User getUserByKefuIdAndIp(@Param("kefuId") String kefuId, String ip);


}
